<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Description: 
  User: wangguichun
  Date: 2018/4/9
  Time: 14:49
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>les5_1</title>
</head>
<body>
<h1>我的名字是：${user.username}</h1>
<c:if test='${user.sex==0}'>
    <h1>我的性别是：男生</h1>
</c:if>
<c:if test='${user.sex==1}'>
    <h1>我的性别是：女生</h1>
</c:if>
<h1>我的地址是：${user.address}</h1>
</body>
</html>

